//
//  NetworkStates.h
//  SinaWebo
//
//  Created by 王方伟 on 16/7/20.
//  Copyright © 2016年 亦心. All rights reserved.
//

#import "AFHTTPSessionManager.h"

typedef NS_ENUM(NSUInteger, NetworkStates) {
    NetworkStatesNone, // 没有网络
    NetworkStates2G, // 2G
    NetworkStates3G, // 3G
    NetworkStates4G, // 4G
    NetworkStatesWIFI // WIFI
};

@interface NetworkStatesTool : AFHTTPSessionManager

+ (instancetype)sharedNetworkStates;

// 判断网络类型
- (NetworkStates)getNetworkStates;
@end
